home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000035_news@newsmaster….columbia.edu _Tue Dec 22 12:27:36 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
11KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA17169
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 22 Dec 1998 12:27:36 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA19260
for kermit.misc@watsun; Tue, 22 Dec 1998 12:27:35 -0500 (EST)
Path: news.columbia.edu!panix!logbridge.uoregon.edu!su-news-hub1.bbnplanet.com!news.gtei.net!nntp.flash.net!news.flash.net!not-for-mail
Message-ID: <367FD6BF.1B4D30FD@acxiom.com>
From: William Jones <wjones@acxiom.com>
X-Mailer: Mozilla 4.06 [en] (WinNT; U)
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: automation script calling external protocol (Zmodem)
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Lines: 296
Date: Tue, 22 Dec 1998 17:27:32 GMT
NNTP-Posting-Host: 206.31.111.18
X-Complaints-To: abuse@flash.net
X-Trace: news.flash.net 914347652 206.31.111.18 (Tue, 22 Dec 1998 11:27:32 CDT)
NNTP-Posting-Date: Tue, 22 Dec 1998 11:27:32 CDT
Organization: FlashNet Communications, http://www.flash.net
Xref: news.columbia.edu comp.protocols.kermit.misc:9667
We have run into a problem continuing script automation after calling
the external protocol (i.e., Zmodem). Due to business reasons, we
must use the Zmodem protocol on the remote Windows machine
running Wildcat BBS.
We must automate a process of downloading (and uploading)
files to a remote Windows based Wildcat BBS from a UNIX
server running SCO Unixware 7. We are trying to use C-Kermit
with kermit automation scripts on the UNIX server. We have
purchased Zmodem from Omen Inc. (crz, csz, etc.) and also
two copies of the book "using C-Kermit". We have built a Kermit
script (wildcat.ksc) which works up to a point. We have placed the
command to call the kermit scriptin .mykermrc (i.e., take wildcat.ksc);
furthermore, we start the process by typing " kermit -nr ". It starts
the
external protocol download but we can not figure out how to turn
control back to the Kermit automation script after the download
completes . After the file is downloaded we get a Continue prompt.
How do we return control back from the external protocol to kermit?
Any advice would be appreciated. Portions of the files (session.log,
console.log, and wildcat.ksc with p/w zzzzzz'ed out) are pasted below.
In summary, how do we switch back to Kermit in the automated scripts
after calling the external protocol?
Regards,
William Jones
Database Administrator
Finance Business Unit 1
E-Mail: wjones@acxiom.com
TEL # : (501) 336-1363
FAX# : (501) 336-3714
"Wolves wouldn't succeed if they didn't work as a team,
and when they're not hunting, they play."
*************************************
*****START OF session.log*****
*************************************
WC142704-08564963966DF83294823>Wildcat! for Win95/NT (c) 1995,96 Mustang
Software, Inc. All Rights Reserved.
Registration number: 04-0856. v5.00.427 (Aug 28 1996). Node: 1.
Connected at 38400 bps.
������������������������������������������������
You have connected to node 1 on Acme Corporation
This system is operating on Wildcat! v5
Please supply username and password to logon.
UNAUTHORIZED ACCESS PROHIBITED
������������������������������������������������
What is your first name? snowman
What is your last name?
Welcome SNOWMAN.
What is your password? *******
ACME CORPORATION
�����������������������������������������
Main Menu �
��������������������������������
�������������������������Ŀ
� B BULLETIN MENU �
� C Comments to Sysop �
� F FILE MENU �
� G Goodbye �
� H Change help level �
� I Initial Welcome �
� M MESSAGE MENU �
� Q QUESTIONNAIRE MENU �
� ? Command Help �
���������������������������
Time Left : 155 Total Time Online : 540
Main Menu Command >> f
ACME CORPORATION
�����������������������������������������
File Menu �
�������������������������������
�������������������������Ŀ
� G Goodbye �
� F File Transfer Help �
� H Change help level �
� I Info. On a File �
� L List Files �
� M MESSAGE MENU �
� N New Files listing �
� Q Quit to main �
� S Search for files �
� U UpLoad files �
� ? Command Help �
���������������������������
Time Left : 155 Total Time Online : 540
Main Menu Command >> l
Scanning file area 70 - SNOWMAN
[ 1] ACXIOM~1.TXT test
[ 2] DIAL~1.FIL Test file from William in Little Rock Arkansas on Dec
11 Fri
[ 3] ABC.TXT 1000+ row test file from NRC via William's DESK
[ 4] ABC1.TXT
[ 5] ABC2.TXT upload test
[ 6] ABC3.TXT upload test zmodem
[ 7] REGGIE.TXT Hi Reggie, see you at 8:45 William
[ 8] SANTA.TXT automatic uploading
[C]ont,[P]rev,[H]elp,[N]stp,S[k]ip,[M]ark,[D]nld,[I]nfo,[V]iew,[Q]uit? d
Bytes Time Total Bytes Total
Time
------------- ---------- -------------
----------
File #1 ? reggie.txtFile #1 ? REGGIE.TXT 26,676
0:00:09 26,676 0:00:09
File #2 ?
You have these MARKED files queued ready for download:
Bytes Time Total Bytes Total
Time
------------- ---------- -------------
----------
[ 1] REGGIE.TXT 26,676 0:00:09 26,676
0:00:09
[D]ownload - Download all marked files.
[A]dd - Add more files (by name) to the download list.
[G]oodbye - Download all marked files, then logoff automatically.
[T]humbnail - Create composite image(s) of all picture files.
[E]dit - Edit/View marked files.
[Q]uit - Return to the menu prompt.
Download command? D
[A] Ascii [X] Xmodem [C] Xmodem/CRC [F] Xmodem/1K
[O] Xmodem/1KG [Y] Ymodem [G] Ymodem/G [K] Kermit
[Z] Zmodem
Select a file transfer protocol? z
Start your Zmodem download now...
rz**B00000000000000�**B00000000000000�
Press [ENTER] to continue?
************************************
***** END OF session.log*****
************************************
***************************************
*****START OF UNIX console *****
***************************************
CONNECT 26400/ARQ/V34/LAPM/V42BIS
Call complete: 09:48:57.
101. take wildcat.ksc
1. ;set input timeout quit
2. set input echo off
3. input 30 name?
4. output snowman\13
5. input 30 name?
6. output \13
7. input 30 password?
8. output zzzzzzz\13
9. input 5 command >>
10. output f\13
11. input 5 command >>
12. output l\13
13. input 5 uit?
14. output d\13
15. input 5 ?
16. output reggie.txt\13
17. input 5 ?
18. output \13
19. input 5 command?
20. output d\13
21. input 5 protocol?
22. output z\13
23. input 60 continue?
24. output \13
25. input 5 uit?
26. output q\13
27. input 5 command >>
28. output g\13
29. input 5 n]?
30. output y\13
102. ;take wildcat.ksc
103. end ; End of UNIX section
692.
693. ; Finish up with traditional greeting.
694.
695. if < \v(ntime) 43200 echo Good Morning!
Good Morning!
696. else if < \v(ntime) 61200 echo Good Afternoon!
697. else echo Good Evening.
698.
699. End ; of C-Kermit 6.0 initialization file.
Incoming: reggie.txt 26676 bytes
0 ZMODEM CRC-32
1024 ZMODEM CRC-32
2048 ZMODEM CRC-32
3072 ZMODEM CRC-32
4096 ZMODEM CRC-32
5120 ZMODEM CRC-32
6144 ZMODEM CRC-32
7168 ZMODEM CRC-32
8192 ZMODEM CRC-32
9216 ZMODEM CRC-32
10240 ZMODEM CRC-32
11264 ZMODEM CRC-32
12288 ZMODEM CRC-32
13312 ZMODEM CRC-32
14336 ZMODEM CRC-32
15360 ZMODEM CRC-32
16384 ZMODEM CRC-32
17408 ZMODEM CRC-32
18432 ZMODEM CRC-32
19456 ZMODEM CRC-32
20480 ZMODEM CRC-32
21504 ZMODEM CRC-32
22528 ZMODEM CRC-32
23552 ZMODEM CRC-32
24576 ZMODEM CRC-32
25600 ZMODEM CRC-32
26624 ZMODEM CRC-32
crz 1.00 07-23-98 finished.
Connecting to /dev/term/00m, speed 38400.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
(Session logged to /home/wjones/session.log, text)
Press [ENTER] to continue?
*************************************
*****END OF UNIX console *****
*************************************
**********************************
*****START OF wildcat.ksh *****
**********************************
;set input timeout quit
set input echo off
input 30 name?
output snowman\13
input 30 name?
output \13
input 30 password?
output zzzzzzz\13
input 5 command >>
output f\13
input 5 command >>
output l\13
input 5 uit?
output d\13
input 5 ?
output reggie.txt\13
input 5 ?
output \13
input 5 command?
output d\13
input 5 protocol?
output z\13
input 60 continue?
output \13
input 5 uit?
output q\13
input 5 command >>
output g\13
input 5 n]?
output y\13
*******************************
*****END OF wildcat.ksh *****
*******************************